import turtle

turtle.hideturtle()

for i in range(1,11):
    for j in range(1,i+1):
        turtle.penup()
        turtle.goto(0+20*(j-1), 90 - 20 * i)
        turtle.pendown()
        turtle.write(j)

turtle.done()
